package com.bussiness.system.dao;

import com.bussiness.system.model.MyRoleEntity;
import com.common.util.mypage.Pages;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface MyRoleDao {
    int deleteByPrimaryKey(Long id);

    int insert(MyRoleEntity record);

    int insertSelective(MyRoleEntity record);

    MyRoleEntity selectByPrimaryKey(Long id);

    List<MyRoleEntity> selectList();

    List<MyRoleEntity> pageList(Pages page);

    int updateByPrimaryKeySelective(MyRoleEntity record);

    int updateByPrimaryKey(MyRoleEntity record);
}